package cn.ydxlm.maplib.entity;

public class Marker {
    private double lat;
    private double lon;
    private int icon;
    private String data;

    public Marker (double lat, double lon, int icon) {
        this.lat = lat;
        this.lon = lon;
        this.icon = icon;
    }

    public Marker (double lat, double lon, int icon, String data) {
        this.lat = lat;
        this.lon = lon;
        this.icon = icon;
        this.data = data;
    }

    public String getData () {
        return data;
    }

    public void setData (String data) {
        this.data = data;
    }

    public double getLat () {
        return lat;
    }

    public void setLat (double lat) {
        this.lat = lat;
    }

    public double getLon () {
        return lon;
    }

    public void setLon (double lon) {
        this.lon = lon;
    }

    public int getIcon () {
        return icon;
    }

    public void setIcon (int icon) {
        this.icon = icon;
    }
}
